/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.cput.ac.concepts.poly.polyviolation.impl;

/**
 *
 * @author Ilyaas Khatib
 */
public class Dog {
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    
    void play(){
        System.out.println("Chasing tail");
    }
    
    void playing(String plaything){
        System.out.println("Chewing on "+plaything);
    }
    
    public static void main(String[] args) {
        Dog d = new Dog();
        d.play();
        d.playing("stick");
    }
}
